package jupl.image;

import java.io.IOException;

import migool.auth.Loginable;
import migool.entity.MimeTypeEntity;
import migool.host.Hostable;

/**
 * @author Denis Migol
 * 
 */
public interface ImageUploader extends Hostable, Loginable {

	boolean isUploadUrlSupported();

	ImageUploadResponse upload(String url) throws IOException, ImageUploadException;

	boolean isUploadImageSupported();

	ImageUploadResponse upload(MimeTypeEntity image) throws IOException, ImageUploadException;
}
